package com.maistars.spider.service.domain.rule;

import com.maistars.spider.service.domain.task.CrawlerTask;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * @author dhr
 * @date 2022/2/3 2:20 下午
 */
@Builder
@Data
public class SiteRule {

    private Integer id;

    private String ruleName;

    /**
     * 站点规则允许有参数入口，参数类型：1.URL列表 2. 暴力扫描  3.自定义参数
     */
    private String siteRule;

    private CrawlerTask task;

    private String cronConfig;

    private Date executionStartTime;

    private Date executionEndTime;

}
